<!--# layout("/common/layout.html",{"jsBase":"/js/cms/coreTestdata/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">受检单位名称</label>
				<div class="layui-input-inline">
					<input type="text" id="testName" name="testName"  value="${coreTestdata.testName}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系部门</label>
				<div class="layui-input-inline">
					<input type="text" id="linkOrg" name="linkOrg"  value="${coreTestdata.linkOrg}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">受检单位地址</label>
				<div class="layui-input-inline">
					<input type="text" id="address" name="address"  value="${coreTestdata.address}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系人</label>
				<div class="layui-input-inline">
					<input type="text" id="linkMan" name="linkMan"  value="${coreTestdata.linkMan}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline">
					<input type="text" id="linkPhone" name="linkPhone"  value="${coreTestdata.linkPhone}"  lay-verify="required|phone" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">邮编</label>
				<div class="layui-input-inline">
					<input type="text" id="zipcode" name="zipcode"  value="${coreTestdata.zipcode}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">检测对象</label>
				<div class="layui-input-inline">
					<input type="text" id="tester" name="tester"  value="${coreTestdata.tester}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">防雷类别</label>
				<div class="layui-input-inline">
					<input type="text" id="fltype" name="fltype"  value="${coreTestdata.fltype}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">检测地点</label>
				<div class="layui-input-inline">
					<input type="text" id="testAddress" name="testAddress"  value="${coreTestdata.testAddress}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createTime" name="createTime"  value="${coreTestdata.createTime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建人</label>
				<div class="layui-input-inline">
					<input type="text" id="createUser" name="createUser"  value="${coreTestdata.createUser}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">检测日期</label>
				<div class="layui-input-inline">
					<input type="text" id="testDate" name="testDate"  value="${coreTestdata.testDate,"yyyy-MM-dd"}"  lay-verify="date" class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">报告发送日期</label>
				<div class="layui-input-inline">
					<input type="text" id="reportDate" name="reportDate"  value="${coreTestdata.reportDate,"yyyy-MM-dd"}"  lay-verify="date" class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">状态</label>
				<div class="layui-input-inline">
					<input type="text" id="status" name="status"  value="${coreTestdata.status}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">type</label>
				<div class="layui-input-inline">
					<input type="text" id="type" name="type"  value="${coreTestdata.type}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">审批人</label>
				<div class="layui-input-inline">
					<input type="text" id="approvlId" name="approvlId"  value="${coreTestdata.approvlId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">审批备注</label>
				<div class="layui-input-inline">
					<input type="text" id="remark" name="remark"  value="${coreTestdata.remark}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">htmldata</label>
				<div class="layui-input-inline">
					<input type="text" id="htmldata" name="htmldata"  value="${coreTestdata.htmldata}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value=${coreTestdata.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var coreTestdataEdit = layui.edit
    coreTestdataEdit.init();
});
</script>
